home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / Vk / VkForkIO.z / VkForkIO
Encoding:
Text File  |  2002-10-03  |  6.8 KB  |  199 lines

  1.  
  2.  
  3.  
  4. VVVVkkkkFFFFoooorrrrkkkkIIIIOOOO((((3333xxxx))))                                                      VVVVkkkkFFFFoooorrrrkkkkIIIIOOOO((((3333xxxx))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      VkForkIO - Command-line interface to shell command component
  10.  
  11. IIIINNNNHHHHEEEERRRRIIIITTTTSSSS FFFFRRRROOOOMMMM
  12.      VkTextIO : VkComponent : VkCallbackObject
  13.  
  14. HHHHEEEEAAAADDDDEEEERRRR FFFFIIIILLLLEEEE
  15.      #include <Vk/VkForkIO.h>
  16.  
  17. PPPPUUUUBBBBLLLLIIIICCCC PPPPRRRROOOOTTTTOOOOCCCCOOOOLLLL SSSSUUUUMMMMMMMMAAAARRRRYYYY
  18.    CCCCoooonnnnssssttttrrrruuuuccccttttoooorrrr////DDDDeeeessssttttrrrruuuuccccttttoooorrrr
  19.            VkForkIO(const char* name,
  20.                     Widget parent,
  21.                     const char* prompt = NULL);
  22.            virtual void ~VkForkIO(void);
  23.  
  24.  
  25.    CCCCoooonnnnttttrrrroooollll FFFFuuuunnnnccccttttiiiioooonnnnssss
  26.            void execCommand(char* cmd);
  27.            void inputString(char* str);
  28.  
  29.  
  30.    AAAAcccccccceeeessssssss ffffuuuunnnnccccttttiiiioooonnnnssss
  31.            Boolean running(void);
  32.  
  33.  
  34.  
  35. CCCCLLLLAAAASSSSSSSS DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  36.           The VkForkIO class provides an easy mechanism to run a shell command
  37.           in a text widget, and allow the user to interact with that command
  38.           as if they were in a shell.  The VkForkWindow class further
  39.           simplifies this by allowing a command to be run in a new window.
  40.  
  41.  
  42.  
  43. FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNN DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNNSSSS
  44.    VVVVkkkkFFFFoooorrrrkkkkIIIIOOOO(((())))
  45.            VkForkIO(const char* name,
  46.                     Widget parent,
  47.                     const char* prompt = NULL);
  48.            virtual void ~VkForkIO(void);
  49.  
  50.  
  51.           Creates a Motif scrolled text widget for command interaction.  The
  52.           first argument is the name used for the text widget, the second is
  53.           used for the parent of the text widget, and the last is the
  54.           command-line prompt displayed.
  55.  
  56.    eeeexxxxeeeeccccCCCCoooommmmmmmmaaaannnndddd(((())))
  57.            void execCommand(char* cmd);
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. VVVVkkkkFFFFoooorrrrkkkkIIIIOOOO((((3333xxxx))))                                                      VVVVkkkkFFFFoooorrrrkkkkIIIIOOOO((((3333xxxx))))
  71.  
  72.  
  73.  
  74.           Specifies the shell command to run in the component.
  75.  
  76.    rrrruuuunnnnnnnniiiinnnngggg(((())))
  77.            Boolean running(void);
  78.  
  79.  
  80.           Indicates whether the shell command is still running.
  81.  
  82.    iiiinnnnppppuuuuttttSSSSttttrrrriiiinnnngggg(((())))
  83.            void inputString(char* str);
  84.  
  85.  
  86.           Simulates user input into the component.
  87.  
  88. IIIINNNNHHHHEEEERRRRIIIITTTTEEEEDDDD MMMMEEEEMMMMBBBBEEEERRRR FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNNSSSS
  89.    IIIInnnnhhhheeeerrrriiiitttteeeedddd ffffrrrroooommmm VVVVkkkkTTTTeeeexxxxttttIIIIOOOO
  90.           show(), VkTextIO(), ~VkTextIO(), setCallback(), clearHistory(),
  91.           outputString(), outputChar(), disableRedisplay(), enableRedisplay(),
  92.           textWidget(), activated(), activate(),  deactivate(),
  93.           scrollWidget(),  prepTextWidget(),  processInput(), inputChar(),
  94.           addInput(),  addInputN(),  doKillLine(),  doKillWord(), doDelete(),
  95.           newInput(),  scrollToBottom(),  callCallback(),  flushInput(),
  96.           translatePos(),  inputError(),  modify_verify(),  ctrl_u(),
  97.           ctrl_c(), ctrl_w(),  text,  prompt,  promptBuf,  buffer, bufferSize,
  98.           callback,  callbackData,  ignoreVerify,  displayUpdated, normalBg,
  99.           readOnlyBg,
  100.  
  101.  
  102.    IIIInnnnhhhheeeerrrriiiitttteeeedddd ffffrrrroooommmm VVVVkkkkCCCCoooommmmppppoooonnnneeeennnntttt
  103.           className(),  installDestroyHandler(),  removeDestroyHandler(),
  104.           widgetDestroyed(), afterRealizeHook(),  setDefaultResources(),
  105.           getResources(),  VkComponent(),  VkComponent(), ~VkComponent(),
  106.           hide(),  realize(),  manage(),  unmanage(), name(),  baseWidget(),
  107.           okToQuit(),  isComponent(), _name,  _baseWidget,  _w,
  108.           deleteCallback,
  109.  
  110.  
  111.    IIIInnnnhhhheeeerrrriiiitttteeeedddd ffffrrrroooommmm VVVVkkkkCCCCaaaallllllllbbbbaaaacccckkkkOOOObbbbjjjjeeeecccctttt
  112.           callCallbacks(),  VkCallbackObject(),  ~VkCallbackObject(),
  113.           addCallback(),  addCallback(), removeCallback(),  removeCallback(),
  114.           removeAllCallbacks(),  removeAllCallbacks(),  hasCallbacks(),
  115.           cloneCallbacks(),  cloneCallback(),  cloneCallback(),
  116.  
  117.  
  118. CCCCLLLLAAAASSSSSSSSEEEESSSS UUUUSSSSEEEEDDDD BBBBYYYY TTTTHHHHIIIISSSS CCCCLLLLAAAASSSSSSSS
  119.      VkCallbackObject, VkInput, VkProgram, VkSubProcessRep
  120.  
  121. KKKKNNNNOOOOWWWWNNNN CCCCLLLLAAAASSSSSSSSEEEESSSS TTTTHHHHAAAATTTT UUUUSSSSEEEE TTTTHHHHIIIISSSS CCCCLLLLAAAASSSSSSSS
  122.      VkForkIO
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. VVVVkkkkFFFFoooorrrrkkkkIIIIOOOO((((3333xxxx))))                                                      VVVVkkkkFFFFoooorrrrkkkkIIIIOOOO((((3333xxxx))))
  137.  
  138.  
  139.  
  140. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  141.      VkTextIO, VkComponent, VkCallbackObject, VkCallbackObject, VkForkIO,
  142.      VkInput, VkProgram, VkSubProcessRep,
  143.      _V_i_e_w_K_i_t _P_r_o_g_r_a_m_m_e_r'_s _G_u_i_d_e
  144.      _T_h_e _X _W_i_n_d_o_w _S_y_s_t_e_m, DEC Press, Bob Sheifler and Jim Gettys
  145.      _T_h_e _X _W_i_n_d_o_w _S_y_s_t_e_m _T_o_o_l_k_i_t, DEC Press, Paul Asente and Ralph Swick
  146.      _T_h_e _O_S_F/_M_o_t_i_f _P_r_o_g_r_a_m_m_e_r_s _R_e_f_e_r_e_n_c_e, Prentice Hall, OSF
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.                                                                         PPPPaaaaggggeeee 3333
  196.  
  197.  
  198.  
  199.